#include <bits/stdc++.h>
using namespace std;

int main(){
    for (char i = 'A'; i <= 'Z'; ++i)
        cout<<i;
    cout<<endl;
    for (char i = 'a'; i <= 'z'; ++i)
        cout<<i;
    cout<<endl;
    for (char i = '0'; i <= '9'; ++i)
        cout<<i;
    cout<<endl;
    return 0;
}